package com.repast.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.repast.common.ServerResponse;
import com.repast.service.IBackgroundImgService;

@Controller
@RequestMapping("/bg/")
public class BackgroundImgController {
	
	@Autowired
	private IBackgroundImgService bgService;
	@RequestMapping("showBg.do")
	@ResponseBody
	public ServerResponse showBg(){
		return bgService.showBg();
	}
}
